package com.example.nebulaspringboot.mapper;

import com.example.nebulaspringboot.entity.Role;

import java.util.List;

public interface RoleMapper {

    Role selectById(Integer id);

    List<Role> selectRoleList(String name);

    int insertSelective(Role role);

    int updateRoleById(Role role);

    void deleteRole(Integer id);

    Role checkName(String name);
}
